package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.Car;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface CarMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Car record);

    int insertSelective(Car record);

    Car selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);

    /**
     * 根据车牌号码查询
     * @param fnumber
     * @return
     */
    List<Car>selectCarByFnumber(Map<String, String> map);

    List<Car>selectCarByFnumber2(Map<String, String> map);

    List<Car> selectCarAll(String compangId);

    List<Car> selectCarByName(Map<String, String> map);

    List<Car> selectCarByInfo(Map<String, String> map);

    String selectCarFnumber(Map<String, String> map);


    List<Car> selectCarExcel(Map<String, String> map);

    Car selectCarByExcel(@Param("fnumber") String fnumber );

}